﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/PBOAMasterPage.master" AutoEventWireup="true" CodeFile="newsPublish.aspx.cs" Inherits="MsgMng_newsPublish" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit.HTMLEditor"
    TagPrefix="cc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<link type="text/css" rel="Stylesheet" href="../css/News.css" />
<title>新闻发布</title>

    <style type="text/css">
        .style2
        {
            text-align: center;
            height:45px;
        }
        .style3
        {
            text-align: right;
            height: 45px;
        }
        .style4
        {
            height: 45px;
        }
        .pos{padding-top:10px;padding-bottom:-10px;}
    </style>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<uc:Navigator Text="新闻发布"  runat="server" />
<div id="NewsPublish">
<table class="Publish">
<tr>
<td class="style3" >新闻标题：</td>
<td>
    <asp:TextBox ID="txtNewsTitle" runat="server"></asp:TextBox>
    </td>
</tr>
<tr>
<td class="style3">新闻类型：</td>
<td class="style4">
    <asp:DropDownList ID="ddlNewsType" runat="server" Height="19px" Width="148px">
    </asp:DropDownList>
    </td>
</tr>
<tr>
<td class="style3" >是否置顶：</td>
<td ><asp:RadioButtonList ID="rbtnlIsTop" runat="server" 
                                RepeatDirection="Horizontal">
                               <asp:ListItem Text="是" Value="True" Selected="True"></asp:ListItem>
                                <asp:ListItem Text="否" Value="False"></asp:ListItem>
                            </asp:RadioButtonList></td>
</tr>
<tr>
<td class="style3" >是否推荐：</td>
<td><asp:RadioButtonList ID="rbtnIsRecommend" runat="server" 
                                RepeatDirection="Horizontal">
                               <asp:ListItem Text="是" Value="True" Selected="True"></asp:ListItem>
                                <asp:ListItem Text="否" Value="False"></asp:ListItem>
                            </asp:RadioButtonList></td>
</tr>
<tr>
<td colspan="2" class="style2" >新闻内容
</td>
</tr>
<tr>
<td colspan="2" >
    <cc1:Editor ID="edtNews" runat="server" />
</td>
</tr>
<tr><td colspan="2" ><div class="pos"><hr /></div></td></tr>
<tr>
<td colspan="2" class="style2" >
    <asp:Button ID="btnOK" runat="server" Text="提交" CssClass="ButtonImage" 
        onclick="btnOK_Click" />
    <asp:ConfirmButtonExtender ID="Button1_ConfirmButtonExtender" runat="server" 
        ConfirmText="确认要提交吗？" Enabled="True" TargetControlID="btnOK">
    </asp:ConfirmButtonExtender>
    </td>
</tr>
</table>
</div>
</asp:Content>

